TCPIP Network Stack Performance in Linux Kernel 2.4 and 2.5

نویسندگان

  • Vaijayanthimala Anand
  • Bill Hartner
چکیده

We discuss our findings on how well the Linux 2.4 and 2.5 TCPIP stack scales with multiple network interfaces and with the SMP network workloads on 100/1000 Mb Ethernet networks. We identify three hotspots in the Linux TCPIP stack: 1) inter-processor cache disruption on SMP environments, 2) inefficient copy routines, and 3) poor TCPIP stack scaling as network bandwidth increases. Our analysis shows that the L2 cache_lines_out rate (thereby memory cycles per instructionmCPI) is high in the TCPIP code path leading to poor SMP Network Scalability. We examine a solution that enhances data cache effectiveness and therefore improves the SMP scalability. Next the paper concentrates on is improving the “Copy_To_User” and “Copy_From_User” routines used by the TCPIP stack. We propose using the “hand unrolled loop” instead of the “movsd” instruction on the IA32 architecture and also discuss the effects of aligning the data buffers. The gigabit network interface scalability workload clearly shows that the Linux TCPIP stack is not efficient in handling high bandwidth network traffic. The Linux TCPIP stack needs to mimic the “Interrupt Mitigation” that network interfaces adopt. We explore the techniques that would accomplish this effect in the TCPIP stack. This paper also touches on the system hardware limitation that affects the gigabit NIC’s scalability. We show that three or more gigabit NICs do not scale in the hardware environment used for the workloads.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficient Access of Remote Resources in Embedded Networked Computer Systems

Fixed networks of limited resource heterogeneous computers need to allow applications to access remote devices in order to overcome any local resource deficiencies. Current operating systems would use a file system, network stack and middleware to implement such access but the volume of functionality involved can be a barrier to performance. This paper examines the 2.4 series Linux kernel to sh...

متن کامل

MyMANET: A Customizable Mobile Ad hoc Network

We present MyMANET, a kernel module that provides a framework for ad hoc communication using commodity hardware. It exposes network measurements and provides an interface for inserting a routing protocol. MyMANET is based on a Layer 2.5 approach, which we call the Wireless Decision Layer (WDL). Such a system seems suitable for developing regions with infrastructure constraints, where lab-develo...

متن کامل

Fleets: Scalable Services in a Factored Operating System

Current monolithic operating systems are designed for uniprocessor systems, and their architecture reflects this. The rise of multicore and cloud computing is drastically changing the tradeoffs in operating system design. The culture of scarce computational resources is being replaced with one of abundant cores, where spatial layout of processes supplants time multiplexing as the primary schedu...

متن کامل

ReplTrc: A Tool for Emulating Real Network Dynamics

Evaluating the performance of network sensitive applications, devices, and protocols has become increasingly complex as the diversity of scenarios and speed of networks increase. This includes the evaluation of VoIP and video conferencing applications, telephony devices, and protocols in both wired and wireless scenarios. Therefore, in this paper, we describe how we design and implement ReplTrc...

متن کامل

User Space TCP - Getting LKL Ready for the Prime Time

Running the networking stack in the user space is not new. The conventional wisdom is that the network stack must bypass the kernel in order to meet the performance requirements of a class of applications that demand super-low latency. This paper describes an experiment we’ve undertaken to provide a productionstrength user space TCP stack for a different use case inside Googles internal product...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010